﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModelTemplateManage.aspx.cs"
    Inherits="Whir_System_Module_CommonModel_ModelTemplateManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            alert('禁止访问子栏目页！将跳转到默认页面');
            top.location='../../Default.aspx';
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DADADA">
            <tr>
                <td colspan="4" height="23" class="form_title"><strong>功能模块备份列表</strong> </td>
            </tr>
            <tr>
                <td height="23" align="center" class="grid_Title">备份名称 </td>
                <td height="23" align="center" class="grid_Title">备份描述 </td>
                <td height="23" align="center" class="grid_Title">管理操作 </td>
            </tr>
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <tr>
                        <td height="23" align="center" class="grid_td">
                            <%# Eval("TemplateName")%>
                        </td>
                        <td height="23" align="center" class="grid_td">
                            <%# Eval("TemplateDesc")%>
                        </td>
                        <td height="23" align="center" class="grid_td"><a href='ModelTemplate.aspx?Action=Modify&ModelTemplateID=<%# Eval("TemplateID") %>'>
                            编辑</a>&nbsp;|&nbsp; <a href='ModelTemplate.aspx?Action=Delete&ModelTemplateID=<%# Eval("TemplateID") %>'>
                                删除</a>&nbsp;|&nbsp; <a href='ModelTemplateExport.aspx?ModelTemplateID=<%# Eval("TemplateID") %>&ModelTemplateName=<%# Server.UrlEncode(Eval("TemplateName").ToString())  %>'>
                                    功能模块导出</a> </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </form>
</body>
</html>
